
listimg=$1

Flat=$2

if [ $# -ne 2  ]
then
	echo "usage: xzeroflat_list.sh listaaa Flat.fit"
fi

for fitfile in `cat $listimg`
do
	echo $fitfile
	xzeroflatcorr.sh $fitfile  $Flat
done
